package com.chen.constants;

import com.chen.expection.ErrorCode;

public class ErrorCodeConstant {
    //-------100-001-001---dept--------------------------------
    public static final ErrorCode DEPT_NOT_EXIST=new ErrorCode("部门不存在","100-001-001");
    public static final ErrorCode DEPT_EXIST=new ErrorCode("部门存在","100-001-002");

    //-------100-002-001---post--------------------------------
    public static final ErrorCode POST_NOT_EXIST=new ErrorCode("岗位不存在","100-002-001");
    public static final ErrorCode POST_EXIST=new ErrorCode("岗位存在","100-002-002");
    public static final ErrorCode POST_CODE_EXIST=new ErrorCode("岗位授权码已经存在","100-002-003");
    public static final ErrorCode POST_NAME_EXIST=new ErrorCode("岗位名字已经存在","100-002-004");

    //-------100-003-001---user--------------------------------
    public static final ErrorCode USER_NOT_EXIST=new ErrorCode("用户不存在","100-003-001");
    public static final ErrorCode USER_EXIST=new ErrorCode("用户存在","100-003-002");

}
